package com.room.search.repository.search;

import com.room.search.domain.RoomSearchGood;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;
import java.util.Optional;

public interface RoomSearchGoodSearchRepository extends ElasticsearchRepository<RoomSearchGood, Long> {

    List<RoomSearchGood> findAllByPriceLessThanAndPriceGreaterThan(Integer lessThen, Integer greaterThan);

}
